﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication
{
    class DapperFeed : MovieFeed
    {
        public DapperFeed(string url)
            : base (url)
        {
        }

        public override void PreProcess(ref FeedDotNet.Common.Feed newFeed)
        {
            if (newFeed.Items.Count == 1)
            {
                if (newFeed.Items[0].Title.ToLower().Contains("can't read content".ToLower()))
                {
                    newFeed.Items = null;
                    return;
                }
            }
        }
    }
}
